package com.dayatang.hrm.compensation.domain;

import java.util.List;

import com.dayatang.commons.domain.EntityRepository;

public interface FiscalPeriodRepository extends
		EntityRepository<FiscalPeriod, Long> {

	List<FiscalPeriod> findByFiscalYear(FiscalYear fiscalYear);

	FiscalPeriod getLatestPeriodByFiscalYear(FiscalYear fiscalYear);

}
